/*
 * Global reset
 */

body {
    margin:0px;
    padding:0px;
    font-family: Helvetica, Arial, sans;
}

/*
 * CSS for some of the blockUI stuff
 */

#blockUIDragHandle {
  border-radius: 5px 5px 0 0;
  width: auto;
  background-color: rgb(170,170,170);
  text-align: right;
  padding: 0 10px;
}

#blockUIDragHandle a {
  color: black;
  text-decoration: none;
}


/*
 * Fix some stuff that jQueryUI and jQueryMobile disagree about
 */

span.ui-icon {
display:inline-block;
}

/*
 * Styling for some CDF Mobile elements
 */
#title {
        color: inherit;
        font-weight: inherit;
        line-height: inherit;
        text-align: left;
}

div.cmdHeader {
    position:absolute; z-index:2;
    top:0; left:0;
    width:100%;
    height:45px;
    line-height:45px;
    background-image:-webkit-gradient(linear, 0 0, 0 100%,
      color-stop(0, #555),
      color-stop(0.5, #111),
      color-stop(1, #000));
    background-image:-moz-linear-gradient(top, #555, #111,#000);
    padding:0;
    color:#eee;
    font-size:20px;
    text-align:center;
}

#filters span.filter {
  width: 100%;
  display: inline-block;
  position:relative;
}
#filters span.label {
  width: 30%;
  display: inline-block;
  vertical-align: middle;
  font-size: 17px;
  position: absolute;
  top: 50%;
  margin-top: -9px;
}

#filters span.selector {
float: right;
width: 70%;
}
div.cmdContent > div {
    position:absolute; z-index:1;
/*  -webkit-touch-callout:none;*/
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    width:100%;
    padding:0px;
        margin: 0px;
}

#cmdContent .dataTables_wrapper {
  min-height:0px;
}

#cmdContent {
  width:100%;
  padding: 0;
  margin: 0;
}
#mainContent, #filtersContent {
    padding: 0;
    width: 100%;
    background: #1b1b1b;
}

#placeholder {
  display: none;
}

#dashboardView, #filtersPanel {
  background: #1b1b1b;
}

#cmdFilters {
  position: absolute;
  top: 45px;left:0px;
  padding: 20px;
  background-color: #555;
  z-index: 100;
}

.cdfCarouselHolder {
  width: 100%;
}
/*
 * Table styling
 */

.tableComponent {
  margin: 0px 1%;
  width:98%;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.tableComponent  {
  border-spacing: 0 3px;
}

.tableComponent thead th {
  background-image: -webkit-linear-gradient(top, #4d4d4d, #111);
}
.tableComponent {
  margin: 0px 1%;
  width:98%;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.tableComponent  {
  border-spacing: 0 3px;
}

.tableComponent thead th {
  background-image: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(0, #4d4d4d),
	color-stop(1, #111)
  );
  padding: 4px;
}

/* Both Android 3.1 and iOS lack support for
 * the newer -webkit-linear-gradient and
 * pixel-based stops, so we need to use
 * percentage-base color stops. This royally
 * sucks for landscape/portrait changes and
 * espcecially wider screens, so we use
 * media queries to split this styling by
 * screen size
 */

@media all and (min-width: 900px) {
  .tableComponent thead th:last-child {
    background-image:
      -webkit-gradient(linear, left top, right top,
        color-stop(0,rgba(30,30,30,.8)),
        color-stop(.5%,rgba(10,10,10,0)),
        color-stop(1%,rgba(0,0,0,0))
      ),
      -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, #4d4d4d),
        color-stop(1, #111)
      );
    background-image:
      -moz-linear-gradient(left, rgba(30,30,30,.8), rgba(10,10,10,0) 2px, rgba(0,0,0,0) 5px),
      -moz-linear-gradient(top, #4d4d4d, #111);
    background-image:
      -webkit-linear-gradient(left, rgba(30,30,30,.8), rgba(10,10,10,0) 2px, rgba(0,0,0,0) 5px),
      -webkit-linear-gradient(top, #4d4d4d, #111);
  
  }
  
  .tableComponent thead th:not(:first-child):not(:last-child) {
    background-image:
      -webkit-gradient(linear, right top, left top,
        color-stop(0,rgba(20,20,20,.8)),
        color-stop(.5%,rgba(10,10,10,0)),
        color-stop(1%,rgba(0,0,0,0))
      ),
      -webkit-gradient(linear, left top, right top,
        color-stop(0,rgba(30,30,30,.8)),
        color-stop(.5%,rgba(10,10,10,0)),
        color-stop(1%,rgba(0,0,0,0))
      ),
      -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, #4d4d4d),
        color-stop(1, #111)
      );
    background-image:
      -moz-linear-gradient(left, rgba(30,30,30,.8), rgba(10,10,10,0) 2px, rgba(0,0,0,0) 5px),
      -moz-linear-gradient(right, rgba(20,20,20,.8), rgba(10,10,10,0) 2px, rgba(0,0,0,0) 5px),
      -moz-linear-gradient(top, #4d4d4d, #111);
    background-image:
      -webkit-linear-gradient(left, rgba(30,30,30,.8), rgba(10,10,10,0) 2px, rgba(0,0,0,0) 5px),
      -webkit-linear-gradient(right, rgba(20,20,20,.8), rgba(10,10,10,0) 2px, rgba(0,0,0,0) 5px),
      -webkit-linear-gradient(top, #4d4d4d, #111);
  }
  
  .tableComponent thead th:first-child {
    background-image:
      -webkit-gradient(linear, right top, left top,
        color-stop(0,rgba(20,20,20,.8)),
        color-stop(.5%,rgba(10,10,10,0)),
        color-stop(1%,rgba(0,0,0,0))
      ),
      -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, #4d4d4d),
        color-stop(1, #111)
      );
    background-image:
      -moz-linear-gradient(right, rgba(20,20,20,.8), rgba(10,10,10,0) 2px, rgba(0,0,0,0) 5px),
      -moz-linear-gradient(top, #4d4d4d, #111);
    background-image:
      -webkit-linear-gradient(right, rgba(20,20,20,.8), rgba(10,10,10,0) 2px, rgba(0,0,0,0) 5px),
      -webkit-linear-gradient(top, #4d4d4d, #111);
  }
  .tableComponent tr td:last-child {
  background-image:
      -webkit-gradient(linear, left top, right top,
        color-stop(0,rgba(221,221,221,1)),
        color-stop(.5%,rgba(240,240,240,.8)),
        color-stop(1%,rgba(255,255,255,0))
      );
  background-image:-webkit-linear-gradient(left, #ddd 0px, rgba(240,240,240,.80) 2px, rgba(255,255,255,0) 3px);
  background-image:-moz-linear-gradient(left, #ddd 0px, rgba(240,240,240,.80) 2px, rgba(255,255,255,0) 3px);
}

.tableComponent tr td:not(:first-child):not(:last-child) {
  background-image:
      -webkit-gradient(linear, left top, right top,
        color-stop(0,rgba(221,221,221,1)),
        color-stop(.5%,rgba(240,240,240,.8)),
        color-stop(1%,rgba(255,255,255,0))
      ),
      -webkit-gradient(linear, right top, left top,
        color-stop(0,rgba(160,160,160,1)),
        color-stop(.5%,rgba(240,240,240,.8)),
        color-stop(1%,rgba(255,255,255,0))
      );
  background-image:
      -moz-linear-gradient(left, #ddd 0px, rgba(240,240,240,.80) 2px, rgba(255,255,255,0) 3px),
      -moz-linear-gradient(right, #aaa 0px, rgba(240,240,240,.80) 2px, rgba(255,255,255,0) 3px);
  background-image:
      -webkit-linear-gradient(left, #ddd 0px, rgba(240,240,240,.80) 2px, rgba(255,255,255,0) 3px),
      -webkit-linear-gradient(right, #aaa 0px, rgba(240,240,240,.80) 2px, rgba(255,255,255,0) 3px);
}

.tableComponent tr td:first-child {
  background-image:
      -webkit-gradient(linear, right top, left top,
        color-stop(0,rgba(160,160,160,1)),
        color-stop(.5%,rgba(240,240,240,.8)),
        color-stop(1%,rgba(255,255,255,0))
      );
  background-image:-webkit-linear-gradient(right, #aaa 0px, rgba(240,240,240,.8) 2px, rgba(255,255,255,0) 3px);
  background-image:-moz-linear-gradient(right, #aaa 0px, rgba(240,240,240,.8) 2px, rgba(255,255,255,0) 3px);

}
}

@media all and (max-width: 900px) {
  .tableComponent thead th:first-child {
    background-image:
      -webkit-gradient(linear, right top, left top,
        color-stop(0,rgba(30,30,30,.8)),
        color-stop(.5%,rgba(10,10,10,0)),
        color-stop(1%,rgba(0,0,0,0))
      ),
      -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, #4d4d4d),
        color-stop(1, #111)
      );
    background-image:
      -moz-linear-gradient(right, rgba(30,30,30,.8), rgba(10,10,10,0) 2px, rgba(0,0,0,0) 5px),
      -moz-linear-gradient(top, #4d4d4d, #111);
    background-image:
      -webkit-linear-gradient(right, rgba(30,30,30,.8), rgba(10,10,10,0) 2px, rgba(0,0,0,0) 5px),
      -webkit-linear-gradient(top, #4d4d4d, #111);
  
  }
   .tableComponent thead th:last-child {
    background-image:
      -webkit-gradient(linear, left top, right top,
        color-stop(0,rgba(30,30,30,.8)),
        color-stop(.5%,rgba(10,10,10,0)),
        color-stop(1%,rgba(0,0,0,0))
      ),
      -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, #4d4d4d),
        color-stop(1, #111)
      );
    background-image:
      -moz-linear-gradient(left, rgba(30,30,30,.8), rgba(10,10,10,0) 2px, rgba(0,0,0,0) 5px),
      -moz-linear-gradient(top, #4d4d4d, #111);
    background-image:
      -webkit-linear-gradient(left, rgba(30,30,30,.8), rgba(10,10,10,0) 2px, rgba(0,0,0,0) 5px),
      -webkit-linear-gradient(top, #4d4d4d, #111);
  
  }
 
  .tableComponent thead th:not(:first-child):not(:last-child) {
    background-image:
      -webkit-gradient(linear, right top, left top,
        color-stop(0,rgba(20,20,20,.8)),
        color-stop(.5%,rgba(10,10,10,0)),
        color-stop(1%,rgba(0,0,0,0))
      ),
      -webkit-gradient(linear, left top, right top,
        color-stop(0,rgba(30,30,30,.8)),
        color-stop(.5%,rgba(10,10,10,0)),
        color-stop(1%,rgba(0,0,0,0))
      ),
      -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, #4d4d4d),
        color-stop(1, #111)
      );
    background-image:
      -moz-linear-gradient(left, rgba(30,30,30,.8), rgba(10,10,10,0) 2px, rgba(0,0,0,0) 5px),
      -moz-linear-gradient(right, rgba(20,20,20,.8), rgba(10,10,10,0) 2px, rgba(0,0,0,0) 5px),
      -moz-linear-gradient(top, #4d4d4d, #111);
    background-image:
      -webkit-linear-gradient(left, rgba(30,30,30,.8), rgba(10,10,10,0) 2px, rgba(0,0,0,0) 5px),
      -webkit-linear-gradient(right, rgba(20,20,20,.8), rgba(10,10,10,0) 2px, rgba(0,0,0,0) 5px),
      -webkit-linear-gradient(top, #4d4d4d, #111);
  }
  
  .tableComponent tr td:last-child {
  background-image:
      -webkit-gradient(linear, left top, right top,
        color-stop(0,rgba(221,221,221,1)),
        color-stop(.5%,rgba(240,240,240,.8)),
        color-stop(1%,rgba(255,255,255,0))
      );
  background-image:-webkit-linear-gradient(left, #ddd 0px, rgba(240,240,240,.80) 2px, rgba(255,255,255,0) 3px);
  background-image:-moz-linear-gradient(left, #ddd 0px, rgba(240,240,240,.80) 2px, rgba(255,255,255,0) 3px);
}

.tableComponent tr td:not(:first-child):not(:last-child) {
  background-image:
      -webkit-gradient(linear, left top, right top,
        color-stop(0,rgba(221,221,221,1)),
        color-stop(1%,rgba(240,240,240,.8)),
        color-stop(2%,rgba(255,255,255,0))
      ),
	  -webkit-gradient(linear, right top, left top,
        color-stop(0,rgba(160,160,160,1)),
        color-stop(1%,rgba(240,240,240,.8)),
        color-stop(2%,rgba(255,255,255,0))
      );
  background-image:
      -moz-linear-gradient(left, #ddd 0px, rgba(240,240,240,.80) 2px, rgba(255,255,255,0) 3px),
      -moz-linear-gradient(right, #aaa 0px, rgba(240,240,240,.80) 2px, rgba(255,255,255,0) 3px);
  background-image:
      -webkit-linear-gradient(left, #ddd 0px, rgba(240,240,240,.80) 2px, rgba(255,255,255,0) 3px),
      -webkit-linear-gradient(right, #aaa 0px, rgba(240,240,240,.80) 2px, rgba(255,255,255,0) 3px);
}

.tableComponent tr td:first-child {
  background-image:
      -webkit-gradient(linear, right top, left top,
        color-stop(0,rgba(160,160,160,1)),
        color-stop(1%,rgba(240,240,240,.8)),
        color-stop(2%,rgba(255,255,255,0))
      );
  background-image:-webkit-linear-gradient(right, #aaa 0px, rgba(240,240,240,.8) 2px, rgba(255,255,255,0) 3px);
  background-image:-moz-linear-gradient(right, #aaa 0px, rgba(240,240,240,.8) 2px, rgba(255,255,255,0) 3px);

  }


}




.tableComponent tr td {
 padding: 4px;
 color: #333;
 text-shadow: 0px 1px #fdfdfd;
 background-color: #fafafa;
}

.tableComponent tr td.sorting_1 {
 background-color: #fdfdfd;
}

.tableComponent tr td:first-child, .tableComponent thead th:first-child {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.tableComponent tr td:last-child, .tableComponent thead th:last-child {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

.dataTables_wrapper .top {
  width: 96%;
  margin: 0 1%;
  margin-bottom: 30px;
  padding: 10px 0;
  background-color: transparent;
  border: none;
}



.dataTables_paginate {
  float:left
}

.dataTables_wrapper .dataTables_info {
  width: auto;
  float: left;
  margin-left: 15px;
}

.dataTables_filter {
 font-size: 0;
 color: transparent;
 width: auto;
 padding: 0;
 padding-left:36px;
 height:26px;
 border-radius:3px;
 background-image:
    url("img/icons/search_icon_18x18px.png"),
    -webkit-gradient(linear, left top, right top,
	  color-stop(18%,rgba(0,0,0,0)),
	  color-stop(23%,rgba(0,0,0,.5)),
      color-stop(30%,rgba(0,0,0,1))
	),
    -webkit-gradient(linear, left top, left bottom,
	  color-stop(0,rgba(77,77,77,1)),
	  color-stop(1,rgba(33,33,33,1))
	);
 background-image:
    url("img/icons/search_icon_18x18px.png"),
    -moz-linear-gradient(left, rgba(0,0,0,0) 33px, rgba(0,0,0,.5) 34px, rgba(0,0,0,1) 36px),
   -moz-linear-gradient(top, #4d4d4d, #333);
 background-image:
    url("img/icons/search_icon_18x18px.png"),
    -webkit-linear-gradient(left, rgba(0,0,0,0) 33px, rgba(0,0,0,.5) 34px, rgba(0,0,0,1) 36px),
   -webkit-linear-gradient(top, #4d4d4d, #333);
 background-position: 9px 4px, center,center;
 background-repeat:no-repeat;
 box-shadow: 0 0 7px 3px black;
}

.dataTables_filter input{
  width: 100%;
  height: 100%;
  padding: 0px;
  border: 0;
  border-radius: 0;
  margin: 0;
  border-top-right-radius:3px;
  border-bottom-right-radius:3px;
  box-shadow: 0 0 1px 0px silver;
}

.dataTables_paginate {
 width: 108px;
}
.dataTables_paginate a[title="Previous"] span {
  background: none;
  display: inline-block;
  height: 45px;
  width: 54px;
  background-image: url("img/paginate_left.png")
}


.dataTables_paginate a[title="Next"] span {
  background: none;
  display: inline-block;
  height: 45px;
  width: 54px;
  background-image: url("img/paginate_right.png")
}

.dataTables_paginate a.ui-state-disabled span {
  background-position: 108px 0;
}


